package ar.uade.edu.fain.ad.server.dao.entity;

import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("SALON")
public class SalonEntity extends AreaEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5343266967175085262L;

	@OneToMany(mappedBy = "salon")
	private List<SectorEntity> sectores;

	public List<SectorEntity> getSectores() {
		return sectores;
	}

	public void setSectores(List<SectorEntity> sectores) {
		this.sectores = sectores;
	}
}
